package SoftwareConfiguration;

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.wb.swt.SWTResourceManager;

public class SInBestConfiguration_InExample extends Composite {

	private Text text_1;
	private Text text_2;
	private Text text;

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public SInBestConfiguration_InExample(Composite parent, int style) {
		super(parent, style);
		setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Label lblNewLabel = new Label(this, SWT.NONE);
		lblNewLabel.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel.setBounds(89, 23, 324, 27);
		lblNewLabel.setText("硬件分配(设备分配)方案导入：");
		lblNewLabel.setFont(new Font(getDisplay(), "宋体",18,SWT.RIGHT));
		
		Label label = new Label(this, SWT.NONE);
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setText("请输入导入的配置方案的名称：");
		label.setBounds(89, 72, 227, 17);
		
		text = new Text(this, SWT.BORDER);
		text.setBounds(89, 95, 227, 27);
		
		Button btnNewButton = new Button(this, SWT.NONE);
		btnNewButton.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		btnNewButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		btnNewButton.setBounds(322, 93, 80, 27);
		btnNewButton.setText("确认");
		btnNewButton.setBackground(SWTResourceManager.getColor(SWT.COLOR_BLUE));
		
		Button btnNewButton_1 = new Button(this, SWT.NONE);
		btnNewButton_1.setBounds(322, 222, 80, 27);
		btnNewButton_1.setText("选择文件");
		
		Button btnNewButton_2 = new Button(this, SWT.NONE);
		btnNewButton_2.setBounds(322, 158, 80, 27);
		btnNewButton_2.setText("选择文件");
		
		Label label_1 = new Label(this, SWT.NONE);
		label_1.setText("这是您导入的文件信息：");
		label_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_1.setBounds(89, 276, 227, 17);
		
		Composite composite = new Composite(this, SWT.NONE);
		composite.setBounds(89, 299, 453, 107);
		
		Label label_2 = new Label(composite, SWT.NONE);
		label_2.setText("文件名：");
		label_2.setBounds(161, 34, 60, 17);
		
		Label label_3 = new Label(composite, SWT.NONE);
		label_3.setText("变量个数：");
		label_3.setBounds(161, 80, 60, 17);
		
		Label lblNewLabel_1 = new Label(composite, SWT.NONE);
		lblNewLabel_1.setBounds(227, 34, 61, 17);
		lblNewLabel_1.setText("New Label");
		
		Label lblNewLabel_2 = new Label(composite, SWT.NONE);
		lblNewLabel_2.setBounds(227, 80, 61, 17);
		lblNewLabel_2.setText("New Label");
		
		Label label_6 = new Label(composite, SWT.NONE);
		label_6.setText("目标个数：");
		label_6.setBounds(161, 57, 60, 17);
		
		Label label_7 = new Label(composite, SWT.NONE);
		label_7.setText("New Label");
		label_7.setBounds(227, 57, 61, 17);
		
		Label label_8 = new Label(composite, SWT.NONE);
		label_8.setText("这是您导入任务分配文件的信息：");
		label_8.setBounds(140, 10, 227, 17);
		
		Button button = new Button(this, SWT.NONE);
		button.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		button.setText("返回");
		button.setBounds(218, 424, 80, 27);
		
		Button button_1 = new Button(this, SWT.NONE);
		button_1.setText("保存");
		button_1.setBounds(322, 424, 80, 27);
		
		Button button_2 = new Button(this, SWT.NONE);
		button_2.setText("导入");
		button_2.setBounds(421, 158, 80, 27);
		
		Button button_3 = new Button(this, SWT.NONE);
		button_3.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		button_3.setText("导入");
		button_3.setBounds(421, 222, 80, 27);
		
		text_1 = new Text(this, SWT.BORDER);
		text_1.setBounds(89, 160, 227, 27);
		
		text_2 = new Text(this, SWT.BORDER);
		text_2.setBounds(89, 224, 227, 27);
		
		Label label_4 = new Label(this, SWT.NONE);
		label_4.setText("配置方案解文件：");
		label_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_4.setBounds(89, 137, 227, 17);
		
		Label label_5 = new Label(this, SWT.NONE);
		label_5.setText("配置方案目标文件：");
		label_5.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_5.setBounds(89, 201, 227, 17);


	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
